package com.learn.mvc.handler;


import javax.servlet.*;
import java.io.IOException;
// 自定义filter
// ctrl+o，实现接口的方法
public class MyFilter implements Filter {

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("执行 Myfitler， doFIlter");
        filterChain.doFilter(servletRequest, servletResponse);
    }
}
